// 工作台条目信息
export let dashboardItemInfo = {
	huiyitongzhi: { name: '会议通知', icon: '/static/dashboard/1.png', path: '/pages/tongzhi/huiyitongzhi' },
	huiyifankui: { name: '会议反馈', icon: '/static/dashboard/34.png', path: '/pages/tongzhi/huiyifankui' },
	zhibanjilu: { name: '值班记录', icon: '/static/dashboard/35.png', path: '/pages/tongzhi/zhibanjilu' },
	gongzuotongzhi: { name: '工作通知', icon: '/static/dashboard/7.png', path: '/pages/tongzhi/gongzuotongzhi' },

	caigoushenqingdan: { name: '采购申请单', icon: '/static/dashboard/2.png', path: '/pages/wuzi/caigoushenqingdan' },
	wuzilingyong: { name: '物资领用', icon: '/static/dashboard/3.png', path: '/pages/wuzi/wuzilingyong' },
	qingjia: { name: '请假', icon: '/static/dashboard/4.png', path: '/pages/jiaqin/qingjia' },
	gongwuchuchai: { name: '公务出差', icon: '/static/dashboard/5.png', path: '/pages/jiaqin/gongwuchuchai' },
	jiaban: { name: '加班', icon: '/static/dashboard/6.png', path: '/pages/jiaqin/jiaban' },
	ruzhishenpi: { name: '入职申请', icon: '/static/dashboard/8.png', path: '/pages/renshi/ruzhishenqing' },
	zhuanzhengshenqing: { name: '转正申请', icon: '/static/dashboard/9.png', path: '/pages/renshi/zhuanzhengshenqing' },
	lizhijiaojie: { name: '离职交接', icon: '/static/dashboard/10.png', path: '/pages/renshi/lizhijiaojie' },
	gongzidan: { name: '工资单', icon: '/static/dashboard/11.png', path: '/pages/renshi/gongzidan' },
	dubandan: { name: '督办单', icon: '/static/dashboard/12.png', path: '/pages/xingzheng/dubandan' },
	paiban: { name: '排班', icon: '/static/dashboard/13.png', path: '/pages/xingzheng/paiban' },
	yongyinshenqing: { name: '用印申请', icon: '/static/dashboard/14.png', path: '/pages/xingzheng/yongyinshenqing' },
	yongcheshenqing: { name: '用车申请', icon: '/static/dashboard/15.png', path: '/pages/xingzheng/yongcheshenqing' },
	cheliangjiayou: { name: '车辆加油', icon: '/static/dashboard/16.png', path: '/pages/xingzheng/cheliangjiayou' },
	huiyishishenqing: { name: '会议室申请', icon: '/static/dashboard/17.png', path: '/pages/xingzheng/huiyishishenqing' },
	jiedaidanshenqing: { name: '接待单申请', icon: '/static/dashboard/18.png', path: '/pages/xingzheng/jiedaidanshenqing' },
	hetongshencha: { name: '合同审批', icon: '/static/dashboard/19.png', path: '/pages/fawu/hetongshencha' },
	zhaobiaowenjian: { name: '招标文件审核', icon: '/static/dashboard/20.png', path: '/pages/fawu/zhaobiaowenjianshenhe' },
	chuanyuewenjian: { name: '传阅文件', icon: '/static/dashboard/21.png', path: '/pages/gongwen/chuanyuewenjian' },
	gongwenliuzhuan: { name: '公文流转', icon: '/static/dashboard/22.png', path: '/pages/gongwen/gongwenliuzhuan' },
	neibufawen: { name: '内部发文', icon: '/static/dashboard/27.png', path: '/pages/gongwen/neibufawen' },
	xinjianfawen: { name: '新建事项', icon: '/static/dashboard/28.png', path: '/pages/gongwen/xinjianfawen' },
	xuanchuanbaodao: { name: '宣传报道', icon: '/static/dashboard/29.png', path: '/pages/gongwen/xuanchuanbaodao' },
	gongzuocan: { name: '工作餐申请', icon: '/static/dashboard/33.png', path: '/pages/gongwen/gongzuocan' },
	daka: { name: '打卡', icon: '/static/dashboard/23.png', path: '/pages/kaoqin/daka' },
	kaoqintongji: { name: '部门考勤', icon: '/static/dashboard/24.png', path: '/pages/kaoqin/kaoqintongji' },
	kaoqinshezhi: { name: '考勤设置', icon: '/static/dashboard/25.png', path: '/pages/kaoqin/kaoqinshezhi' },
	DJdangyuanguanli: { name: '党员管理', icon: '/static/dashboard/28.png', path: '/pages/DJdangyuanguanli/index' },
	DJdangqunhuodong: { name: '党群活动', icon: '/static/dashboard/29.png', path: '/pages/DJdangqunhuodong/index' },
	DJjiaoyuxuexi: { name: '教育学习', icon: '/static/dashboard/30.png', path: '/pages/DJjiaoyuxuexi/index' },
	DJlilunceyan: { name: '理论测验', icon: '/static/dashboard/31.png', path: '/pages/DJlilunceyan/index' },
	DJshujufenxi: { name: '数据分析', icon: '/static/dashboard/32.png', path: '/pages/DJshujufenxi/index' },

	Shishiredian: { name: '实时热点', icon: '/static/dashboard/shishiredianicon.png', path: '/pages/shishiredian/index' },
}

export let serverUrl = 'oa.yczrbhq.com'//正式地址
export let serverUrl2 = 'oa.yczrbhq.com'//正式地址


// 上传附件配置
export let uploadconfig = {
	// 上传服务器地址，此地址需要替换为你的接口地址（附件和图片共用）
	url: 'https://' + serverUrl + '/node/oa/uploadFile',
	urlModifySign: 'https://' + serverUrl + '/node/oa/modifySign',
	urlModifyAvatar: 'https://' + serverUrl + '/node/oa/modifyAvatar',

	//允许上传文件格式
	formats: '',
	// 选择文件后是否立即自动上传，true=选择后立即上传
	instantly: true,
	// 文件上传大小限制（单位MB）
	size: 100,
}
// 上传附件配置
export let uploadconfig2 = {
	// 上传接口参数
	url: `https://${serverUrl2}/masses/common/upload`,
	//允许上传文件格式
	formats: 'png,jpg,pdf,doc,docx,zip,rar',
	// 选择文件后是否立即自动上传，true=选择后立即上传
	instantly: true,
	// 文件上传大小限制（单位MB）
	size: 200,
	count: 1
}
// 上传附件配置
export let uploadconfig3 = {
	// 上传接口参数
	url: `https://${serverUrl2}/masses/common/upload`,
	//允许上传文件格式
	formats: 'png,jpg,pdf,doc,docx,zip,rar,xlsx',
	// 选择文件后是否立即自动上传，true=选择后立即上传
	instantly: true,
	// 文件上传大小限制（单位MB）
	size: 200,
	count: 1
}
export let uploadconfig4 = {
	// 上传接口参数
	url: `https://${serverUrl2}/masses/common/upload`,
	//允许上传文件格式
	formats: 'png,jpg,pdf,doc,docx,zip,rar,xlsx',
	// 选择文件后是否立即自动上传，true=选择后立即上传
	instantly: true,
	// 文件上传大小限制（单位MB）
	size: 200,
	count: 9
}

// 上班开始配置 相对于上班时间的分钟差
export let shangbanStartConfig = [-120, -60, -30]

// 上班结束配置
export let shangbanEndConfig = [0, 15, 30, 60]

// 下班开始配置 相对于下班时间的分钟差
export let xiabanStartConfig = [0, 5, 10, 15, 30, 60]

// 下班结束配置
export let xiabanEndConfig = [60, 120, 180, 240]
